package com.dmatek.uwb.packet.bean;

import com.dmatek.uwb.xml.dom.bean.BasePath;
import com.dmatek.uwb.xml.dom.bean.Point;
/***
 * 投影点类
 * @author zhangfu
 * @data 2019年6月22日 下午2:53:09
 * @Description
 */
public final class ClosestSub {
	private double minDistance;// 最近距离
    private Point optimalSubPoint;// 最优的投影点
    private BasePath optimalPath;// 最优投影的路径
	public ClosestSub() {
		super();
	}
	public ClosestSub(double minDistance, Point optimalSubPoint,
			BasePath optimalPath) {
		super();
		this.minDistance = minDistance;
		this.optimalSubPoint = optimalSubPoint;
		this.optimalPath = optimalPath;
	}
	public double getMinDistance() {
		return minDistance;
	}
	public void setMinDistance(double minDistance) {
		this.minDistance = minDistance;
	}
	public Point getOptimalSubPoint() {
		return optimalSubPoint;
	}
	public void setOptimalSubPoint(Point optimalSubPoint) {
		this.optimalSubPoint = optimalSubPoint;
	}
	public BasePath getOptimalPath() {
		return optimalPath;
	}
	public void setOptimalPath(BasePath optimalPath) {
		this.optimalPath = optimalPath;
	}
}
